package com.lkd.enums;

import com.lkd.base.IBasicEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum BasicEnum implements IBasicEnum {
    SUCCEED(200, "操作成功"),
    SECURITY_ACCESSDENIED_FAIL(401, "权限不足!"),
    LOGIN_FAIL(401, "用户登录失败"),
    LOGIN_LOSE_EFFICACY(401, "登录状态失效，请重新登录"),
    SYSYTEM_FAIL(500, "系统运行异常");


    /**
     * 编码
     */
    public final int code;
    /**
     * 信息
     */
    public final String msg;
}
